package cn.shopthrive.merchants;

import android.content.Context;
import android.util.Log;

import com.vivo.push.model.UPSNotificationMessage;
import com.vivo.push.sdk.OpenClientPushMessageReceiver;

public class PushMessageReceiverImpl extends OpenClientPushMessageReceiver {
    private static final String TAG = "PushMessageReceiverImpl";

    @Override
    public void onNotificationMessageClicked(Context context, UPSNotificationMessage message) {
        Log.i(TAG, "Vivo Notification clicked: " + message.getTitle() + ", " + message.getContent());
        // TODO: 通过 MethodChannel 将点击事件传递给 Flutter
    }

    @Override
    public void onReceiveRegId(Context context, String regId) {
        Log.i(TAG, "Vivo RegId received: " + regId);
        // TODO: 通过 MethodChannel 将 regId 传递给 Flutter
    }
}